package com.bw.service.impl;

import com.bw.mapper.GmallMapper;
import com.bw.pojo.A;
import com.bw.pojo.KeyWord;
import com.bw.service.GmallService;
import com.bw.util.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;
import java.util.Map;

@Service
public class GmallServiceImpl implements GmallService {
    @Autowired
    private GmallMapper mapper;

    @Override
    public List<Map<String,Object>> getGmv(String date) {
        return mapper.getGmv(date);
    }

    @Override
    public List<KeyWord> getKeyWord(String date) {
        return mapper.getKeyWord(date);
    }

    @Override
    public List<A> getA(String date, String vc, String ch, String ar) {
        return mapper.getA(date, vc, ch, ar);
    }


}
